<?php

namespace app\models;

class Areas extends ModelBase
{
    protected $pk = "id";

    public function province()
    {
        return $this->hasOne(Provinces::class,"province_id","id");
    }

    public function city()
    {
        return $this->hasOne(Cities::class,"city_id","id");                     
    }
}